home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
internet
/
miami_dodatki
/
netgate
/
install
/
install.iconx
next >
Wrap
Text File
|
1996-07-17
|
1KB
|
62 lines
; $VER: Install.IconX 37.2 (17.07.96)
;
; This script installs NetGate and all related libraries and files.
;
FailAt 21
Echo "NetGate installation script for use with IconX"
Echo "Copyright © 1996 by Michael Berg"
Echo "All Rights Reserved.*N"
Echo "Installing netgate.library..."
SetEnv DoCopyLib YES
Version >NIL: netgate.library 2
If NOT WARN
Echo " You already have:
" NOLINE
Version netgate.library
Echo "" NOLINE
Ask " Do you want to install
`Version /libs/netgate.library file`
?"
If NOT WARN
SetEnv DoCopyLib NO
EndIf
EndIf
If $DoCopyLib EQ "YES"
Echo " Copying netgate.library to your test: ..."
Copy /libs/netgate.library test: QUIET
Avail >NIL: FLUSH
Else
Echo " Skipped..."
EndIf
Echo "*NInstalling NetGate and related utilities..."
If EXISTS AMITCP:bin
SetEnv TargetDir AmiTCP:bin/
Else
SetEnv TargetDir C:
Endif
Lab SelectDir2
Ask " Install in '$TargetDir'? [y/n]:"
If WARN
Echo " Copying NetGate to *"$TargetDir*"..."
Copy /NetGate $TargetDir QUIET
Copy /NetGate.info $TargetDir QUIET
Copy /NGCatchup $TargetDir QUIET
Copy /NGWatch $TargetDir QUIET
Else
Echo NOLINE " Enter other path or 'QUIT' to skip installation: "
/GetLine >ENV:TargetDir
If NOT $TargetDir EQ "QUIT"
Skip BACK SelectDir2
Else
Echo " Installation skipped..."
EndIf
EndIf
Echo "*NInstallation complete. You may close the window now."